<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<!-- Messages, if any -->
<?php
/**
 * This view can be used as a partial view to display a error section.
 */
if ($messages):
?>
<section class="box message">
	<h2><?php echo __('messages'),"\n"; ?></h2>
<?php
foreach ($messages as $n=>$message):
?>
		<p>
		<?php echo __($message),"\n"; ?>
		</p>
<?php
endforeach;
?>
</section>
<?php
endif;
?>
<!-- /Messages -->